Component org.nuxeo.ecm.platform.picture.renditions
In bundle org.nuxeo.ecm.platform.picture.core
Requirements
Resolution Order
481
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.picture.renditions--renditionDefinitionProviders
- org.nuxeo.ecm.platform.picture.renditions--renditionDefinitions
- org.nuxeo.ecm.platform.picture.renditions--filters
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.platform.picture.renditions">
<require>org.nuxeo.ecm.platform.rendition.contrib</require>
<extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
point="renditionDefinitionProviders">
<renditionDefinitionProvider name="pictureRenditionDefinitionProvider"
class="org.nuxeo.ecm.platform.picture.rendition.PictureRenditionDefinitionProvider">
<filters>
<filter-id>hasPictureFacet</filter-id>
</filters>
</renditionDefinitionProvider>
</extension>
<extension target="org.nuxeo.ecm.platform.rendition.service.RenditionService"
point="renditionDefinitions">
<renditionDefinition name="imageToPDF">
<label>label.rendition.pdf</label>
<icon>/icons/pdf.png</icon>
<contentType>application/pdf</contentType>
<operationChain>Image.Blob.ConvertToPDF</operationChain>
<filters>
<filter-id>hasPictureFacet</filter-id>
</filters>
</renditionDefinition>
</extension>
<extension target="org.nuxeo.ecm.platform.actions.ActionService"
point="filters">
<filter id="hasPictureFacet">
<rule grant="true">
<facet>Picture</facet>
</rule>
</filter>
<filter id="allowPDFRendition" append="true">
<rule grant="false">
<facet>Picture</facet>
</rule>
</filter>
</extension>
</component>